
#define INITGUID       // make sure al the COM interfaces are available

#include "Show3d.h"

// WINMAIN ////////////////////////////////////////////////

int WINAPI WinMain(	HINSTANCE hinstance,
				   HINSTANCE hprevinstance,
				   LPSTR lpcmdline,
				   int ncmdshow)
{
	CShow3d* pGameMain = new 	CShow3d;

	//
	int nRet = pGameMain->Init(hinstance, lpcmdline, _T("TEST3D"), _T("Test3d"), 640, 480, 8, TRUE);
	if (nRet != 0)
		return -1;

	pGameMain->Run();

	pGameMain->Stop();

	
	return 0;
}